package com.babyte.breakpad.data;

import androidx.annotation.Keep;

import java.io.Serializable;

@Keep
public class CrashInfo implements Serializable {

    public CrashInfo(String path, String nativeInfo, String nativeThreadTrack, String jvmThreadTrack) {
        this.path = path;
        this.nativeInfo = nativeInfo;
        this.nativeThreadTrack = nativeThreadTrack;
        this.jvmThreadTrack = jvmThreadTrack;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getNativeInfo() {
        return nativeInfo;
    }

    public void setNativeInfo(String nativeInfo) {
        this.nativeInfo = nativeInfo;
    }

    public String getNativeThreadTrack() {
        return nativeThreadTrack;
    }

    public void setNativeThreadTrack(String nativeThreadTrack) {
        this.nativeThreadTrack = nativeThreadTrack;
    }

    public String getJvmThreadTrack() {
        return jvmThreadTrack;
    }

    public void setJvmThreadTrack(String jvmThreadTrack) {
        this.jvmThreadTrack = jvmThreadTrack;
    }

    @Override
    public String toString() {
        return "CrashInfo{" +
                "path='" + path + '\'' +
                ", nativeInfo='" + nativeInfo + '\'' +
                ", nativeThreadTrack='" + nativeThreadTrack + '\'' +
                ", jvmThreadTrack='" + jvmThreadTrack + '\'' +
                '}';
    }

    private String path;
    private String nativeInfo;
    private String nativeThreadTrack;
    private String jvmThreadTrack;
}
